RelatedEntity Tabular View
COCD_TP145007UK03 | |||||||||||||||||||
RelatedEntity |
This template can be used in multiple positions within the CDA RMIM. The class which is constrained will be dependent on the position at which this template is utilised within the CDA profile. Therefore this template class may constrain any of the following CDA classes:
Template for a person with a relationship with the patient. This class is used to specify the type of relationship. For example mother or carer. |
||||||||||||||||||
Used by: | |||||||||||||||||||
[1..1] [M] classCode (CS { CNE: RoleClass } ) { Fixed="PRS" } |
Model Attribute Description The HL7 attribute classCode describes this class as a personal relationship role. Implementation in XML Instance
|
||||||||||||||||||
[0..1] addr (AD) |
Model Attribute Description The HL7 attribute addr uses an address for the person who has a relationship with the patient. The HL7 attribute addr allows structured and unstructured addresses to be carried. Only structured addresses are recommended to be used. Implementation in XML Instance There are a number of forms of structured address. The three shown here are the recommended formats for patient addresses, they are listed in no particular order. The XML element addr is populated as follows: When using the structured address in the style of PDS the XML element addr shall contain five XML elements streetAddressLine:
The first XML element streetAddressLine or the second XML element streetAddressLine and the fourth XML element streetAddressLine are mandatory to be populated.
When using the fully structured address format then the XML element addr shall be populated as follows:
Alternatively the structured address may contain just a series of XML elements streetAddressLine populated in the correct order to render as a postal address with as much information as available included.
The XML element addr also allows an XML attribute use and this should be used to further define the patient address type when required. Only the use values listed below are recommended to be used for patient addresses.
When the XML attribute use of the XML element addr contains the value "PHYS" then the following two XML elements of the XML element addr may be populated.
The XML element useablePeriod of XML element addr can be used to indicate some of the following types of valid times for an address:
|
||||||||||||||||||
[1..1] [M] code (CV { CNE:CDAPersonRelationshipType } ) |
Model Attribute Description Implementation in XML Instance The Coded Plain flavour of the Coded Value (CV) data type shall be used to carry this information in the XML element code as follows:
|
||||||||||||||||||
[0..1] telecom (TEL) |
Model Attribute Description The HL7 Attribute telecom specifies contact details for the person in the form of telephone numbers, fax numbers and email addresses. Implementation in XML Instance The XML value attribute of the XML element telecom should contain the telephone / fax number or an email address prefixed by the type of contact and a colon.
The XML attribute use of the XML element telecom may be used to give further information about the type of contact details contained in the XML attribute value. Only the use values listed below are recommended to be used for the patient contact details:
The XML element useablePeriod of the XML element telecom may be used to indicate when the contact details given are valid, for example to indicate that a telephone number is only for office hours (9am to 5 pm). It can be used to indicate some of the following types of valid times:
|
||||||||||||||||||
[1..1] [M] templateId (II) { Fixed="COCD_TP145007UK03#RelatedEntity" } |
Model Attribute Description
The HL7 attribute templateId provides a unique identifier for the template and the class name within that template. This is used to identify how the CDA standard has been constrained for NHS use. Implementation in XML Instance The Identifier External data type flavour is used to carry this information in the XML element templateId as follows:
|
||||||||||||||||||
[0..1] relationshipHolder (Person) |
A link to the person. |
||||||||||||||||||
Person |
This template class constrains the CDA Person class. A class which details the person who has a relationship with the patient. |
||||||||||||||||||
Used by: RelatedEntity | |||||||||||||||||||
[1..1] [M] classCode (CS { CNE: EntityClass } ) { Fixed="PSN" } |
Model Attribute Description The HL7 attribute classCode describes this class as a person. Implementation in XML Instance
|
||||||||||||||||||
[1..1] [M] determinerCode (CS { CNE: EntityDeterminer } ) { Fixed="INSTANCE" } |
Model Attribute Description The HL7 attribute determinerCode describes this class as an instance of a person. Implementation in XML Instance
|
||||||||||||||||||
[1..1] [M] name (PN) |
Model Attribute Description The HL7 attribute name provides a name associated with the person who has the relationship with the patient. Implementation in XML Instance The Person Name Structured with optional Use and optional Valid Time flavour of the PN data type is the recommended format for the person's name. This information is carried in the XML element name as follows:
Additionally the XML attribute use of the XML element name should be used to indicate the type of name; the recommended codes to be used are listed below: Note some of the codes listed are NHS extensions, these are marked with an *
Additionally the XML element validTime of the XML element name may be used to indicate the time when the name is valid/was valid for the author, some uses are shown below:
|
||||||||||||||||||
[1..1] [M] templateId (II) { Fixed="COCD_TP145007UK03#relationshipHolder" } |
Model Attribute Description
The HL7 attribute templateId provides a unique identifier for the template and the class name within that template. This is used to identify how the CDA standard has been constrained for NHS use. Implementation in XML Instance The Identifier External data type flavour is used to carry this information in the XML element templateId as follows:
|